namespace Ray.Web.Models
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using Castle.ActiveRecord;
    using NHibernate.Expression;
    using System.Collections;

    [ActiveRecord("Ray_Log")]
    public class Ray_Log
    {
        private int id;
        [PrimaryKey]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private int masterId;
        [Property]
        public int MasterId
        {
            get { return masterId; }
            set { masterId = value; }
        }
        private string masterName;
        [Property]
        public string MasterName
        {
            get { return masterName; }
            set { masterName = value; }
        }
        private DateTime addDate;
        [Property]
        public DateTime AddDate
        {
            get { return addDate; }
            set { addDate = value; }
        }
        private string userIP;
        [Property]
        public string UserIP
        {
            get { return userIP; }
            set { userIP = value; }
        }
        private string descript;
        [Property(ColumnType="StringClob")]
        public string Descript
        {
            get { return descript; }
            set { descript = value; }
        }
    }
}
